package org.springblade.modules.admin.dto.plan;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 更改排期计划执行人入参
 * @Author ysq
 * @Date 2024/2/22
 */
@Data
public class ModifyPlanUserDTO {

	@NotNull(message = "计划id不能为空!")
	@ApiModelProperty(value = "任务计划id")
	private List<Long> planIds;

	@NotNull(message = "类型不能为空!")
	@ApiModelProperty(value = "类型：0-新增，1-替换，2-转移，3-部分删除")
	private Integer type;

	@NotEmpty(message = "用户id集合不能为空!")
	@ApiModelProperty(value = "用户id集合")
	private List<Long> userIds;
}
